package com.ouc.openplatform.ktsy.task;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.github.ltsopensource.core.domain.Action;
import com.github.ltsopensource.core.domain.Job;
import com.github.ltsopensource.tasktracker.Result;

public class PasswordValidateJob {
	private static final Logger LOG = LoggerFactory.getLogger(PasswordValidateJob.class);
	public Result run(Job job) throws Throwable {
		//业务日志
		LOG.info("用户密码有效性检查完成");
		//请根据任务不同的执行情况返回不同的result
		Result successResult = new Result(Action.EXECUTE_SUCCESS,"成功提示信息");
		//Result failResult = new Result(Action.EXECUTE_FAILED,"失败提示信息");
		LOG.info("PasswordValidateJob任务启动成功！");
		return successResult;
	}

}
